Explanation:

The fraction_changed field indicates the fraction of the time cycle that has passed in the TimeSensor. Accordingly we feed this to the set_fraction field of the inteprolator which is the current key for which the keyValue needs to be calculated. Thus the key will cycle from 0 to 1 as the timer cycles through its clock cycle.